<?php

/**
 * @author PeoneEr
 * @method sql()
 */
require_once "core/db.php";

class Mstigma1 extends DB {

    private $_query;

    protected function updateSlotStigma($nick) {
        /**
         * открытие ячейки стигмы
         * @param mixed $nick
         */
        DB::getInstance()->openConnectionToGS();
        $this->_query = "UPDATE `players` SET `advenced_stigma_slot_size` = '5'
      WHERE `name` = '$nick' AND `account_name` = '$_SESSION[name]' ";
        return DB::getInstance()->sql($this->_query);
        DB::getInstance()->closeConnection();
        unset($this->_query);
    }

}

?>
